package com.java3_8;

public class MyThread2 implements Runnable {
//    public MyThread2() {
//
//    }


    @Override
    public void run() {
        for (int i = 1; i <= 10; i++) {
            System.out.println(Thread.currentThread().getName() + " " + i);
        }
    }
}
